Conditional statements: 
nested ifs

Problem#1: Find the minimum of three
Example#1: MinOfThree.java

- switch statement

Problem#1: Get a numeric grade value and then print a message according to the following grid
100 ---> Perfect score

90s
96 / 10 ---> 9
92 / 10 ---> 9

90s ---> Well above average
80s ---> Above average
70s ---> Average
60s ---> Below average
< 60 ---> Not passing

Example#2: GradeReport.java

switch(...) {
case ...: 

case ...:
	

default:
}

char letter = 'A';
int countA = 0, countB = 0, other = 0;

switch(letter) {// byte, short, int, char, String
case 'A':
	countA++;
	break;

case 'B':
	countB++;
	break;


default:
	other++;
}
-----------------------------------------------------------------------------
Repetition statements: while, do while, for

int counter = 1;
while(counter <= 5) {
	System.out.println(counter);
	counter++;
}

counter		output
----------------------
1		1
2		2
3		3
4		4
5		5
6

Example#3: WhileDemo.java

Example#4: InfiniteLoop.java
Example#5: BreakDemo.java

!(a && b) ===> !a || !b

Example#6: Average.java
Example#7: AverageVariant.java


r	a	d	a	r
        		left		
	right

























